package com.tbvtc.agriculturalcreditchainserver2025.vo.ConsumerVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class addCartVo {
   @Schema(description = "购物id")
    private Integer id;
    @Schema(description = "用户id")
    private Integer userId;
    @Schema(description = "商品id")
    private Integer goodId;
    @Schema(description = "商品数量")
    private Integer num;
    @Schema(description="创建时间",deprecated = true) //
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime Time;
}
